<div class="wizard">
    <a href="<?php if($current == 'create') echo $this->createUrl('project/create');
    				else echo $this->createUrl('project/describe', array('id'=>$model->id));?>" 
    	<?php 	if($current == 'describe' || $current == 'create') echo ' class="current"';
    			else echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'describe' || $current == 'create') echo ' badge-inverse';
    							else echo ' badge-success';?>">1</span> <?php echo Yii::t('project','Describe');?>
    </a>
    <a<?php if($model->pre_work_status == 1 || $current == 'prework')echo ' href="' . $this->createUrl('project/prework', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'prework') echo ' class="current"';
    			else if($model->pre_work_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'prework') echo ' badge-inverse';
    							else if($model->pre_work_status == 1) echo ' badge-success';?>">2</span> <?php echo Yii::t('project','Preliminary Work');?>
    </a>
    <a<?php if($model->advanced_info_status == 1 || $current == 'adinfo')echo ' href="' . $this->createUrl('project/adinfo', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'adinfo') echo ' class="current"';
    			else if($model->advanced_info_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'adinfo') echo ' badge-inverse';
    							else if($model->advanced_info_status == 1) echo ' badge-success';?>">3</span> <?php echo Yii::t('project','Advanced Info');?>
    </a>
    <a<?php if($model->qualification_status == 1 || $current == 'qualify')echo ' href="' . $this->createUrl('project/qualify', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'qualify') echo ' class="current"';
    			else if($model->qualification_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'qualify') echo ' badge-inverse';
    							else if($model->qualification_status == 1) echo ' badge-success';?>">4</span> <?php echo Yii::t('project','Qualification');?>
    </a>
    <a<?php if($model->divide_projects_status == 1 || $current == 'sub')echo ' href="' . $this->createUrl('project/sub', array('id'=>$model->id)) . '" ';?>
    	<?php if($current == 'sub') echo ' class="current"';
    			else if($model->divide_projects_status == 1) echo ' class="complete"';?>>
    	<span class="badge<?php if($current == 'sub') echo ' badge-inverse';
    							else if($model->divide_projects_status == 1) echo ' badge-success';?>">5</span> <?php echo Yii::t('project','Project Subdivision');?>
    </a>
</div>